package com.sali.b_design_pattern.f_responsibility_pattern.strategy.method01;

import com.sali.design_pattern.c_factory_method_pattern.lesson_03.pojo.User;

public class RunningJobHandler extends JobHandler {

    public RunningJobHandler(JobHandlerParams params) {
        super(params);
    }

    @Override
    public void invokeHandler() {
        User user = responseUserService.getUser(1L);
        System.out.println("runningJobHandler-->" + user.toString());
        System.out.println("runningJobHandler-->" + params.getParamA());
    }
}
